 var techArray;
 
	google.load("feeds", "1");	
	
	
        function showFeed() {
          var feed = new google.feeds.Feed("http://feeds.feedburner.com/ReesenewsTech");
          techArray = new Array();
          feed.setNumEntries(7);
		  feed.load(function(result) {
			  if (!result.error) {
				  var i;
                  for(i =0; i < result.feed.entries.length; i++){
                      var entry = result.feed.entries[i];
                      var articleDate = entry.publishedDate;
                      var articleTitle = entry.title;
                      var articleContent = entry.content;
                      var article = Ext.ModelMgr.create({
                          title : articleTitle,
                          pubDate : articleDate,
                          imageSrc : '',
                          content : articleContent
                      }, 'Article');
                      Reesenews.stores.techStore.add(article);
                      article.save();   
                 }
              }
                else{
                	alert("error");
                }
            });
        }
        
   google.setOnLoadCallback(showFeed);